package com.xydtech.ecard.imp.service;

import com.xydtech.ecard.imp.domain.EcardApiMerchantImportTask;
import com.xydtech.ecard.imp.domain.EcardMerchantImportHandover;

import java.util.List;

/*
 * 导入任务service层
 * @author lin
 * @version 1.0
 * @create 2024/11/28 9:06
 */
public interface IEcardApiMerchantImportTaskService {
    /**
     * 查询导入任务列表
     *
     * @param cmRegistId
     * @param merchantType
     * @param search
     * @param deptId
     * @param phone
     * @param salt
     * @return
     */
    List<EcardApiMerchantImportTask> getMerchantImportTaskList(Long cmRegistId, String merchantType, String search, Long deptId, String phone, String salt);

    /**
     * 保存转交记录
     * @param ecardMerchantImportHandover
     * @return
     */
    int addMerchantImportTransferInfo(EcardMerchantImportHandover ecardMerchantImportHandover,String salt);

    /**
     * 关闭个体工商户导入任务
     * @param busiId
     * @return
     */
    int closeMerchantImportTask(Long busiId);
}
